package xyz.leohan.mymvpdemo.Component;

import android.content.SharedPreferences;

import javax.inject.Singleton;

import dagger.Component;
import retrofit2.Retrofit;
import xyz.leohan.mymvpdemo.http.HttpService;
import xyz.leohan.mymvpdemo.module.AppModule;
import xyz.leohan.mymvpdemo.module.NetModule;

/**
 * Created by leo on 2017/5/16.
 */

@Singleton
@Component(modules={AppModule.class, NetModule.class})
public interface AppComponent {
    Retrofit getRetrofit();
    SharedPreferences getSharedPreferences();
    HttpService getHttpService();
}
